package com.slx.longest_palindrome;

import org.junit.Assert;
import org.junit.Test;

public class Main {
    @Test
    public void test1() {
        Solution solution = new Solution();
        Assert.assertEquals(7, solution.longestPalindrome("abccccdd"));
    }

    @Test
    public void test2() {
        Solution solution = new Solution();
        Assert.assertEquals(7, solution.longestPalindrome("aAaaaaaa"));
    }
}
